#include"process.h"
#include<unistd.h>
#include<stdio.h>
#include<string.h>

#define NUM 101
#define STYLE '#'

void process_v1()
{
   char buffer[NUM];
   memset(buffer,0,sizeof(buffer));

   int cnt=0;
 while(cnt<=100)  
   {
     printf("[%-100s][%d]\r",buffer,cnt);
     
     fflush(stdout);
     buffer[cnt]= STYLE ;


     cnt++;
     usleep(100000);


   }
 printf("\n");



}
